home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group94a.txt / 000199_icon-group-sender _Mon Aug 8 12:25:28 1994.msg < prev    next >
Internet Message Format  |  1994-08-19  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 8 Aug 1994 18:21:43 MST
  2. To: icon-group-l@cs.arizona.edu
  3. Date: 8 Aug 1994 12:25:28 -0700
  4. From: dave@cs.arizona.edu (Dave Schaumann)
  5. Message-Id: <3260r8$gtd@baskerville.CS.Arizona.EDU>
  6. Organization: University of Arizona CS Department, Tucson AZ
  7. Sender: icon-group-request@cs.arizona.edu
  8. References: <31u87k$84c@baskerville.CS.Arizona.EDU>, <5MxTM8s.mengarini@delphi.com>
  9. Subject: Re: isatty equivalent in Icon?
  10. Status: R
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12.  
  13. In article <5MxTM8s.mengarini@delphi.com>,
  14. Will Mengarini  <mengarini@delphi.com> wrote:
  15. >Dave Schaumann <dave@CS.Arizona.EDU> writes:
  16. >>Is there a function equivalent to C's "isatty()" in Icon?  (ie,
  17. >>a way to tell whether &input (or another file) is connected to
  18. >>a teletype-like device)
  19. >I have a version of isatty() for MS-DOS only.
  20. >This kind of thing is likely to require nonportable implementation;
  21. >what operating system are you using?
  22.  
  23. I'm presently working on a Un*x box (Solaris to be specific).
  24. But I would like the solution to be reasonably portable.
  25.  
  26. -Dave
  27.  
  28.